/**
 * @Author: Your name
 * @Date:   2024-03-07 10:48:16
 * @Last Modified by:   Your name
 * @Last Modified time: 2024-03-07 14:24:19
 */
module.exports = {
  webpack: (config, { dev, isServer }) => {
    if (!dev && isServer) {
      config.resolve.fallback = { ...config.resolve.fallback, fs: false };
    }
    return config;
  },
};
